#pragma once
#include <iostream>
using namespace std;

class Tableau
{
	long *tab;
	unsigned int taille;
	unsigned int nb;
	public:
	Tableau(unsigned int max=100);
	~Tableau();
	Tableau(const Tableau& );
	long& operator[](unsigned int);
	unsigned int getNb(){return nb;}
	void ajouter_fin(unsigned int);
	Tableau operator=( const Tableau&);
	Tableau operator+(const Tableau&);
	bool operator==(const Tableau&);
	void supprimer(unsigned int);
	friend ostream& operator<<(ostream&,const Tableau&);

};
ostream& operator<<(ostream&,const Tableau&);
